<!DOCTYPE html>
<form action="save" class="custom-form" method="post">
	<input type="hidden" name="id" th:value="${model.id}">
	<p>
		<input class="easyui-combotree" id="ct" name="parentId"
			data-th-value="${model.parent==null?null:model.parent.id}"
			data-data-options="|width:200,label:'上级部门',labelAlign:'right',url:'dept/combotree',panelWidth:200,panelHeight:150,queryParams:{nodeId:${model.id==null?'null':model.id}}|">
	</p>
	<p>
		<input class="easyui-textbox" type="text" name="name"
			th:value="${model.name}"
			data-options="width:200, label:'部门名称', labelAlign:'right',required:true">
	</p>
	<p>
		<input class="easyui-textbox" type="text" name="manager"
			th:value="${model.manager}"
			data-options="width:200,label:'部门负责人', labelAlign:'right',required:true">
	</p>
</form>
